package com.qitmiaojie.service;

import com.qitmiaojie.controller.utils.Result;
import com.qitmiaojie.pojo.Temperature;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;

import java.io.IOException;

/**
 *
 */
public interface TemperatureService extends IService<Temperature> {
    /***
    * @description 上报体温
    * @param temperature
    * @return
    * @author
    * @date
    */
    Result addTemperature(Temperature temperature);

    /***
    * @description 查询所有体温信息
    * @param date
    * @return
    * @author
    * @date
    */
    Result getAllIsTemperature(String date);
    /***
    * @description 条件查询
    * @param today
    * @return
    * @author
    * @date
    */
    Result getTemperature(String today);

    Result getAlltemperatureAndHealthCode(String date, String name, String status, String idNumber, String result, Integer currentPage, Integer size) throws IOException, TencentCloudSDKException, InterruptedException;
}
